Skip to main content

Function Node

The Function Node gets values of variables to the Input Ports, applies functions to the values, and sends results to the Output Ports.

Function Node
Function Node
info

Start with applying functions to the Output Ports. The Function Node automatically generates Input Ports based on the names of variables used in functions.

In the example above the SUM(A, B, C) function automatically detects the A, B, C variables.

The Function Node automatically validates and generates the A, B, C Input Ports.

The Collection of Functions

The Collection of Functions is based on the project formulas: an Excel formulas interpreter in Python.

The Collection of Functions containes engineering, financial, logical, look up, math, statistical, and text functions.

TypeNameSyntaxDescription
ArraySUMPRODUCTSUMPRODUCT(array1, [array2, ...])Calculates the sum of the products of corresponding entries in two equal-sized arrays or ranges. Learn more
DateTIMESTAMPTIMESTAMP()Returns timestamp in seconds
EngineeringBIN2DECBIN2DEC(signed_binary_number)Converts a signed binary number to decimal format. Learn more
EngineeringBIN2HEXBIN2HEX(signed_binary_number, [significant_digits])Converts a signed binary number to signed hexadecimal format. Learn more
EngineeringBIN2OCTBIN2OCT(signed_binary_number, [significant_digits])Converts a signed binary number to signed octal format. Learn more
EngineeringDEC2BINDEC2BIN(decimal_number, [significant_digits])Converts a decimal number to signed binary format. Learn more
EngineeringDEC2HEXDEC2HEX(decimal_number, [significant_digits])Converts a decimal number to signed hexadecimal format. Learn more
EngineeringDEC2OCTDEC2OCT(decimal_number, [significant_digits])Converts a decimal number to signed octal format. Learn more
EngineeringHEX2BINHEX2BIN(signed_hexadecimal_number, [significant_digits])Converts a signed hexadecimal number to signed binary format. Learn more
EngineeringHEX2DECHEX2DEC(signed_hexadecimal_number)Converts a signed hexadecimal number to decimal format. Learn more
EngineeringHEX2OCTHEX2OCT(signed_hexadecimal_number, significant_digits)Converts a signed hexadecimal number to signed octal format. Learn more
EngineeringOCT2BINOCT2BIN(signed_octal_number, [significant_digits])Converts a signed octal number to signed binary format. Learn more
EngineeringOCT2DECOCT2DEC(signed_octal_number)Converts a signed octal number to decimal format. Learn more
EngineeringOCT2HEXOCT2HEX(signed_octal_number, [significant_digits])Converts a signed octal number to signed hexadecimal format. Learn more
FinancialCUMIPMTCUMIPMT(rate, number_of_periods, present_value, first_period, last_period, end_or_beginning)Calculates the cumulative interest over a range of payment periods for an investment based on constant-amount periodic payments and a constant interest rate. Learn more
FinancialFVFV(rate, number_of_periods, payment_amount, [present_value], [end_or_beginning])Calculates the future value of an annuity investment based on constant-amount periodic payments and a constant interest rate. Learn more
FinancialIPMTIPMT(rate, period, number_of_periods, present_value, [future_value], [end_or_beginning])Calculates the payment on interest for an investment based on constant-amount periodic payments and a constant interest rate. Learn more
FinancialIRRIRR(cashflow_amounts, [rate_guess])Calculates the internal rate of return on an investment based on a series of periodic cash flows. Learn more
FinancialNPERNPER(rate, payment_amount, present_value, [future_value], [end_or_beginning])Calculates the number of payment periods for an investment based on constant-amount periodic payments and a constant interest rate. Learn more
FinancialNPVNPV(discount, cashflow1, [cashflow2, ...])Calculates the net present value of an investment based on a series of periodic cash flows and a discount rate. Learn more
FinancialPMTPMT(rate, number_of_periods, present_value, [future_value], [end_or_beginning])Calculates the periodic payment for an annuity investment based on constant-amount periodic payments and a constant interest rate. Learn more
FinancialPPMTPPMT(rate, period, number_of_periods, present_value, [future_value], [end_or_beginning])Calculates the payment on the principal of an investment based on constant-amount periodic payments and a constant interest rate. Learn more
FinancialPVPV(rate, number_of_periods, payment_amount, [future_value], [end_or_beginning])Calculates the present value of an annuity investment based on constant-amount periodic payments and a constant interest rate. Learn more
FinancialRATERATE(number_of_periods, payment_per_period, present_value, [future_value], [end_or_beginning], [rate_guess])Calculates the interest rate of an annuity investment based on constant-amount periodic payments and the assumption of a constant interest rate. Learn more
FinancialXIRRXIRR(cashflow_amounts, cashflow_dates, [rate_guess])Calculates the internal rate of return of an investment based on a specified series of potentially irregularly spaced cash flows. Learn more
FinancialXNPVXNPV(discount, cashflow_amounts, cashflow_dates)Calculates the net present value of an investment based on a specified series of potentially irregularly spaced cash flows and a discount rate. Learn more
InfoISBLANKISBLANK(value)Checks whether the referenced cell is empty. Learn more
InfoISERRISERR(value)Checks whether a value is an error other than #N/A. Learn more
InfoISERRORISERROR(value)Checks whether a value is an error. Learn more
InfoISLOGICALISLOGICAL(value)Checks whether a value is TRUE or FALSE. Learn more
InfoISNAISNA(value)Checks whether a value is the error #N/A. Learn more
InfoISNONTEXTISNONTEXT(value)Checks whether a value is non-textual. Learn more
InfoISNUMBERISNUMBER(value)Checks whether a value is a number. Learn more
InfoISTEXTISTEXT(value)Checks whether a value is text. Learn more
InfoNANA()Returns the value not available error, #N/A. Learn more
LogicalANDAND(logical_expression1, [logical_expression2, ...])Returns true if all of the provided arguments are logically true, and false if any of the provided arguments are logically false. Learn more
LogicalFALSEFALSE()Returns the logical value FALSE. Learn more
LogicalIFIF(logical_expression, value_if_true, value_if_false)Returns one value if a logical expression is TRUE and another if it is FALSE. Learn more
LogicalIFERRORIFERROR(value, [value_if_error])Returns the first argument if it is not an error value, otherwise returns the second argument if present, or a blank if the second argument is absent. Learn more
LogicalIFNAIFNA(value, value_if_na)Evaluates a value. If the value is an #N/A error, returns the specified value. Learn more.
LogicalIFSIFS(condition1, value1, [condition2, value2], …)Evaluates multiple conditions and returns a value that corresponds to the first true condition. Learn more.
LogicalNOTNOT(logical_expression)Returns the opposite of a logical value - NOT(TRUE) returns FALSE; NOT(FALSE) returns TRUE. Learn more
LogicalOROR(logical_expression1, [logical_expression2, ...])Returns true if any of the provided arguments are logically true, and false if all of the provided arguments are logically false. Learn more
LogicalSWITCHSWITCH(expression, case1, value1, [default or case2, value2], …)Tests an expression against a list of cases and returns the corresponding value of the first matching case, with an optional default value if nothing else is met. Learn more
LogicalTRUETRUE()Returns the logical value TRUE. Learn more
LogicalXORXOR(logical_expression1, [logical_expression2, ...])The XOR function performs an exclusive or of 2 numbers that returns a 1 if the numbers are different, and a 0 otherwise. Learn more.
LookupADDRESSADDRESS(row, column, [absolute_relative_mode], [use_a1_notation], [sheet])Returns a cell reference as a string. Learn more
LookupCOLUMNCOLUMN([cell_reference])Returns the column number of a specified cell, with A=1. Learn more
LookupHLOOKUPHLOOKUP(search_key, range, index, [is_sorted])Horizontal lookup. Searches across the first row of a range for a key and returns the value of a specified cell in the column found. Learn more
LookupINDEXINDEX(reference, [row], [column])Returns the content of a cell, specified by row and column offset. Learn more
LookupLOOKUP`LOOKUP(search_key, search_rangesearch_result_array, [result_range])`
LookupMATCHMATCH(search_key, range, [search_type])Returns the relative position of an item in a range that matches a specified value. Learn more
LookupROWROW([cell_reference])Returns the row number of a specified cell. Learn more
LookupVLOOKUPVLOOKUP(search_key, range, index, [is_sorted])Vertical lookup. Searches down the first column of a range for a key and returns the value of a specified cell in the row found. Learn more
MathABSABS(value)Returns the absolute value of a number. Learn more
MathACOSACOS(value)Returns the inverse cosine of a value, in radians. Learn more
MathACOSHACOSH(value)Returns the inverse hyperbolic cosine of a number. Learn more
MathACOTACOT(value)Returns the inverse cotangent of a value, in radians. Learn more.
MathACOTHACOTH(value)Returns the inverse hyperbolic cotangent of a value, in radians. Must not be between -1 and 1, inclusive. Learn more.
MathASINASIN(value)Returns the inverse sine of a value, in radians. Learn more
MathASINHASINH(value)Returns the inverse hyperbolic sine of a number. Learn more
MathATANATAN(value)Returns the inverse tangent of a value, in radians. Learn more
MathATAN2ATAN2(x, y)Returns the angle between the x-axis and a line segment from the origin (0,0) to specified coordinate pair (x,y), in radians. Learn more
MathATANHATANH(value)Returns the inverse hyperbolic tangent of a number. Learn more
MathCEILINGCEILING(value, [factor])Rounds a number up to the nearest integer multiple of specified significance. Learn more
MathCEILING.MATHCEILING.MATH(number, [significance], [mode])Rounds a number up to the nearest integer multiple of specified significance, with negative numbers rounding toward or away from 0 depending on the mode. Learn more.
MathCEILING.PRECISECEILING.PRECISE(number, [significance])Rounds a number up to the nearest integer multiple of specified significance. If the number is positive or negative, it is rounded up. Learn more.
MathCOSCOS(angle)Returns the cosine of an angle provided in radians. Learn more
MathCOSHCOSH(value)Returns the hyperbolic cosine of any real number. Learn more
MathCOTCOT(angle)Cotangent of an angle provided in radians. Learn more.
MathCOTHCOTH(value)Returns the hyperbolic cotangent of any real number. Learn more.
MathCOUNTBLANKCOUNTBLANK(range)Returns the number of empty cells in a given range. Learn more
MathCOUNTIFCOUNTIF(range, criterion)Returns a conditional count across a range. Learn more
MathCSCCSC(angle)Returns the cosecant of an angle provided in radians. Learn more.
MathCSCHCSCH(value)The CSCH function returns the hyperbolic cosecant of any real number. Learn more.
MathDECIMALDECIMAL(value, base)The DECIMAL function converts the text representation of a number in another base, to base 10 (decimal). Learn more.
MathDEGREESDEGREES(angle)Converts an angle value in radians to degrees. Learn more
MathEVENEVEN(value)Rounds a number up to the nearest even integer. Learn more
MathEXPEXP(exponent)Returns Euler's number, e (~2.718) raised to a power. Learn more
MathFACTFACT(value)Returns the factorial of a number. Learn more
MathFACTDOUBLEFACTDOUBLE(value)Returns the "double factorial" of a number. Learn more
MathFLOORFLOOR(value, [factor])Rounds a number down to the nearest integer multiple of specified significance. Learn more
MathFLOOR.MATHFLOOR.MATH(number, [significance], [mode])Rounds a number down to the nearest integer multiple of specified significance, with negative numbers rounding toward or away from 0 depending on the mode. Learn more.
MathFLOOR.PRECISEFLOOR.PRECISE(number, [significance])The FLOOR.PRECISE function rounds a number down to the nearest integer or multiple of specified significance. Learn more.
MathGCDGCD(value1, value2)Returns the greatest common divisor of one or more integers. Learn more
MathINTINT(value)Rounds a number down to the nearest integer that is less than or equal to it. Learn more
MathISEVENISEVEN(value)Checks whether the provided value is even. Learn more
MathISO.CEILINGISO.CEILING(number, [significance])See CEILING.PRECISE
MathISODDISODD(value)Checks whether the provided value is odd. Learn more
MathLCMLCM(value1, value2)Returns the least common multiple of one or more integers. Learn more
MathLNLN(value)Returns the the logarithm of a number, base e (Euler's number). Learn more
MathLOGLOG(value, base)Returns the the logarithm of a number given a base. Learn more
MathLOG10LOG10(value)Returns the the logarithm of a number, base 10. Learn more
MathMODMOD(dividend, divisor)Returns the result of the modulo operator, the remainder after a division operation. Learn more
MathMROUNDMROUND(value, factor)Rounds one number to the nearest integer multiple of another. Learn more
MathODDODD(value)Rounds a number up to the nearest odd integer. Learn more
MathPIPI()Returns the value of Pi to 14 decimal places. Learn more
MathPOWERPOWER(base, exponent)Returns a number raised to a power. Learn more
MathPRODUCTPRODUCT(factor1, [factor2, ...])Returns the result of multiplying a series of numbers together. Learn more
MathRADIANSRADIANS(angle)Converts an angle value in degrees to radians. Learn more
MathRANDRAND()Returns a random number between 0 inclusive and 1 exclusive. Learn more
MathRANDBETWEENRANDBETWEEN(low, high)Returns a uniformly random integer between two values, inclusive. Learn more
MathROUNDROUND(value, [places])Rounds a number to a certain number of decimal places according to standard rules. Learn more
MathROUNDDOWNROUNDDOWN(value, [places])Rounds a number to a certain number of decimal places, always rounding down to the next valid increment. Learn more
MathROUNDUPROUNDUP(value, [places])Rounds a number to a certain number of decimal places, always rounding up to the next valid increment. Learn more
MathSECSEC(angle)The SEC function returns the secant of an angle, measured in radians. Learn more.
MathSECHSECH(value)The SECH function returns the hyperbolic secant of an angle. Learn more
MathSIGNSIGN(value)Given an input number, returns -1 if it is negative, 1 if positive, and 0 if it is zero. Learn more
MathSINSIN(angle)Returns the sine of an angle provided in radians. Learn more
MathSINHSINH(value)Returns the hyperbolic sine of any real number. Learn more
MathSQRTSQRT(value)Returns the positive square root of a positive number. Learn more
MathSQRTPISQRTPI(value)Returns the positive square root of the product of Pi and the given positive number. Learn more
MathSUMSUM(value1, [value2, ...])Returns the sum of a series of numbers and/or cells. Learn more
MathSUMIFSUMIF(range, criterion, [sum_range])Returns a conditional sum across a range. Learn more
MathTANTAN(angle)Returns the tangent of an angle provided in radians. Learn more
MathTANHTANH(value)Returns the hyperbolic tangent of any real number. Learn more
MathTRUNCTRUNC(value, [places])Truncates a number to a certain number of significant digits by omitting less significant digits. Learn more
OperatorCONCATCONCAT(value1, value2)Returns the concatenation of two values. Equivalent to the & operator. Learn more
StatisticalAVERAGEAVERAGE(value1, [value2, ...])Returns the numerical average value in a dataset, ignoring text. Learn more
StatisticalAVERAGEAAVERAGEA(value1, [value2, ...])Returns the numerical average value in a dataset. Learn more
StatisticalAVERAGEIFAVERAGEIF(criteria_range, criterion, [average_range])Returns the average of a range depending on criteria. Learn more
StatisticalCORRELCORREL(data_y, data_x)Calculates r, the Pearson product-moment correlation coefficient of a dataset. Learn more
StatisticalCOUNTCOUNT(value1, [value2, ...])Returns a count of the number of numeric values in a dataset. Learn more
StatisticalCOUNTACOUNTA(value1, [value2, ...])Returns a count of the number of values in a dataset. Learn more
StatisticalFORECASTFORECAST(x, data_y, data_x)Calculates the expected y-value for a specified x based on a linear regression of a dataset. Learn more
StatisticalFORECAST.LINEARFORECAST.LINEAR(x, data_y, data_x)See FORECAST
StatisticalLARGELARGE(data, n)Returns the nth largest element from a data set, where n is user-defined. Learn more
StatisticalMAXMAX(value1, [value2, ...])Returns the maximum value in a numeric dataset. Learn more
StatisticalMAXAMAXA(value1, value2)Returns the maximum numeric value in a dataset. Learn more
StatisticalMEDIANMEDIAN(value1, [value2, ...])Returns the median value in a numeric dataset. Learn more
StatisticalMINMIN(value1, [value2, ...])Returns the minimum value in a numeric dataset. Learn more
StatisticalMINAMINA(value1, value2)Returns the minimum numeric value in a dataset. Learn more
StatisticalSLOPESLOPE(data_y, data_x)Calculates the slope of the line resulting from linear regression of a dataset. Learn more
StatisticalSMALLSMALL(data, n)Returns the nth smallest element from a data set, where n is user-defined. Learn more
StatisticalSTDEVSTDEV(value1, [value2, ...])Calculates the standard deviation based on a sample. Learn more
StatisticalSTDEV.PSTDEV.P(value1, [value2, ...])See STDEVP
StatisticalSTDEV.SSTDEV.S(value1, [value2, ...])See STDEV
StatisticalSTDEVASTDEVA(value1, value2)Calculates the standard deviation based on a sample, setting text to the value 0. Learn more
StatisticalSTDEVPSTDEVP(value1, value2)Calculates the standard deviation based on an entire population. Learn more
StatisticalSTDEVPASTDEVPA(value1, value2)Calculates the standard deviation based on an entire population, setting text to the value 0. Learn more
StatisticalVARVAR(value1, [value2, ...])Calculates the variance based on a sample. Learn more
StatisticalVAR.PVAR.P(value1, [value2, ...])See VARP
StatisticalVAR.SVAR.S(value1, [value2, ...])See VAR
StatisticalVARAVARA(value1, value2)Calculates an estimate of variance based on a sample, setting text to the value 0. Learn more
StatisticalVARPVARP(value1, value2)Calculates the variance based on an entire population. Learn more
StatisticalVARPAVARPA(value1, value2,...)Calculates the variance based on an entire population, setting text to the value 0. Learn more
TextARABICARABIC(roman_numeral)Computes the value of a Roman numeral. Learn more
TextCONCATENATECONCATENATE(string1, [string2, ...])Appends strings to one another. Learn more
TextFINDFIND(search_for, text_to_search, [starting_at])Returns the position at which a string is first found within text. Learn more
TextLEFTLEFT(string, [number_of_characters])Returns a substring from the beginning of a specified string. Learn more
TextLENLEN(text)Returns the length of a string. Learn more
TextLOWERLOWER(text)Converts a specified string to lowercase. Learn more
TextMIDMID(string, starting_at, extract_length)Returns a segment of a string. Learn more
TextREPLACEREPLACE(text, position, length, new_text)Replaces part of a text string with a different text string. Learn more
TextRIGHTRIGHT(string, [number_of_characters])Returns a substring from the end of a specified string. Learn more
TextROMANROMAN(number, [rule_relaxation])Formats a number in Roman numerals. Learn more
TextSEARCHSEARCH(search_for, text_to_search, [starting_at])Returns the position at which a string is first found within text. Learn more
TextTRIMTRIM(text)Removes leading and trailing spaces in a specified string. Learn more
TextUPPERUPPER(text)Converts a specified string to uppercase. Learn more